bool vector int width fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Oct 2013 01:02:32 +0000 (18:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Oct 2013 01:02:32 +0000 (18:02 -0700)
commit4ac95efede065e8e5dd56056b5b7001a36c58da6
tree42abf3655b55c3dc744d9adb835ad674492a2991
parentdd361165597a05d6509d94c941b0c0398cff00bc
bool vector int width fixes

* data.c (bool_vector_spare_mask, Fbool_vector_count_matches)
(Fbool_vector_count_matches_at):
Use EMACS_INT, not ptrdiff_t, to record bit counts, as a bit count
can exceed PTRDIFF_MAX, at least in theory.
(Fbool_vector_count_matches_at):
Use int, not ptrdiff_t, to record a value that can't exceed INT_MAX.
src/ChangeLog
src/data.c